import 'package:card_swiper/card_swiper.dart';
import 'package:get/get.dart';

class HomeLogic extends GetxController {
  var swiperController = SwiperController();

  List<SwiperController> swiperControllerList = [];

  void buildSwiperController(int num) {
    for (int index = 0; index < num; index++) {
      swiperControllerList.add(SwiperController());
    }
  }

  void nextPage() {
    swiperController.next();
  }

  void prePage() {
    swiperController.previous();
  }
}
